using Com.Ctrip.Framework.Apollo;
using Ongoal.Quotation.APIExtensions;

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.

builder.Configuration.AddJsonFile("appsettings.json", true, true);

var app = builder.UseCommon((service) => { }, (containner) => { });


// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
    app.UseDev(builder.Configuration);
}


app.MapControllers();

app.Run();
